﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using PeopleSource.Entities;
using System.ComponentModel.DataAnnotations;

namespace PeopleSource.Entities
{
    public class ResumeType : EntityBase
    {
        [Display(Name = "简历状态名称"), Required]
        public string ResumeTypeName { get; set; }
    }

    public class Resume : EntityBase
    {
        public InterviewState InterviewState { get; set; }

        [Display(Name = "面试状态")]
        public int? InterviewStateID { get; set; }

        [Display(Name = "简历状态")]
        public int? ResumeTypeID { get; set; }
        public  ResumeType ResumeType { get; set; }

        public string Email { get; set; }
        [Display(Name = "简历编号")]
        public string ResumeUniqueID { get; set; }


        [Display(Name = "身份证号")]
        public string PeopleID { get; set; }

        [Display(Name="姓名"),Required]
        public string Name { get; set; }

        [Display(Name = "手机"), Required]
        public string Mobile { get; set; }

        [Display(Name = "籍贯")]
        public string Hometown { get; set; }

        [Display(Name = "同行")]
        public bool? IsPeerCompany { get; set; }

        [Display(Name = "院校")]
        public string College { get; set; }

        [Display(Name = "学历")]
        public string Degree { get; set; }

        [Display(Name = "生日")]
        public DateTime? BirthDay { get; set; }

        [Display(Name = "期望薪水")]
        public decimal? ExpectSalary { get; set; }

        [Display(Name = "住址")]
        public string Address { get; set; }

        public  JobTitle JobTitle { get; set; }
        [Display(Name = "应聘职位")]
        public int?  JobTitleID { get; set; }

        //[Display(Name = "应聘职位")]
        //public string JobTitleName { get {  } }

        [Display(Name = "专业")]
        public string Profession { get; set; }

        [Display(Name = "性别")]
        public string Gender { get; set; }

        [Display(Name = "教育背景")]
        public string EducationBackground { get; set; }

        [Display(Name = "就业经历")]
        public string EmployeeBackground { get; set; }

        [Display(Name = "面试情况与评定")]
        public string Interviews { get; set; }
    }
}